﻿using BW.WMS.WareHouseCheck.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BW.WMS.WareHouseCheck
{
    public interface IDeptService
    {
        /// <summary>
        /// 获取所有部门信息
        /// </summary>
        /// <returns>部门DTO列表</returns>
        Task<List<DepartmentDTO>> GetDeptList();

        /// <summary>
        /// 创建部门
        /// </summary>
        /// <param name="department"></param>
        /// <returns></returns>
        Task<DepartmentDTO> CreateDept(CreateDept dept);
    }
}
